﻿using System.Xml.Serialization;

namespace ElectronicCommerce.Framework.Configuration.Entities
{
    /// <summary>
    /// Ex Handler
    /// </summary>
    [XmlRoot("ExHandler")]
    public class ExHandler
    {
        [XmlAttribute("Name")]
        public string Name { get; set; }

        [XmlAttribute("Type")]
        public string Type { get; set; }

        [XmlAttribute("ReturnMode")]
        public string ReturnMode { get; set; }

        [XmlAttribute("AlertType")]
        public string AlertType { get; set; }

        [XmlAttribute("DirectUrlFormat")]
        public string DirectUrlFormat { get; set; }

        [XmlElement("LogHandler")]
        public LogHandlerCollection LogHandlerList { get; set; }
    }
}
